<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title>little little draggy</title>
		<script src="https://cdn.ronghub.com/RongIMLib-2.2.2.min.js"></script>
		<script type="text/javascript" src="js/jquery-1.11.0.js"></script>
		<script type="text/javascript" src="js/vue.js"></script>
		<link rel="stylesheet" href="css/style.css" />
	</head>

	<body>
		<div class="msg_box">
			<div class="title">小小拽</div>
			<div class="msg_container">
				<div class="msg" v-for="item in messages" :class="{'piggy':item.user=='piggy'}">
					<div class="avatar"></div>
					<div class="content">{{item.content}}</div>
				</div>
			</div>
			<div class="footer">
				<textarea v-model="content"></textarea>
				<div class="btn" @click="sendmsg" @keyup.enter="sendmsg">发送</div>
			</div>
		</div>
		<script type="text/javascript" src="js/ctrl.js"></script>
	</body>

</html>